package com.titan.demo.camel.sample.eip.使用choice实现分支.Test03;

import com.titan.demo.camel.utils.Context;

public class DemoMain {

	public static void main(String[] args) {
		try {
			Context.initSpring("com/titan/demo/camel/sample/eip/使用choice实现分支/Test03/spring/ApplicationContext.xml");
			
//			Context.send("camel-1", "direct:start", "1", "h1", 1);
//			Context.send("camel-1", "direct:start", "2", "h1", 2);
			Context.send("camel-1", "direct:start", "3", "h1", 3);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
